export const RouteQuery = (router: any, name: any, isQuery?: Boolean) => router.currentRoute.value[isQuery ? "query" : "params"][name];

export const RouteName = (router: any) => router.currentRoute.value.name;